<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
<head>
<!-- 这里引入导航信息header.tpl -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>岗位人员变更</title>
<script type="text/javascript">
	var POST_PERSONNEL_CHANGE_PATH = '<%=context%>business/postMaintenance/';
	var PRJ_PATH = '<%=context%>' +'business/projectManager/';
	var codes = eval('${codes}');
</script>
</head>
<body class="fixed-nav">
	<!-- 修改 -->
	<div style="display: none;" id ="updatePostPersonnelChangeTemplate">
		<wasp:opera type='2' id='updatePostPersonnelChange' fun='' param=''></wasp:opera>
	</div>
	<!-- 删除 -->
	<div style="display: none;" id ="deletePostPersonnelChangeTemplate">
		<wasp:opera type='2' id='deletePostPersonnelChange' fun='' param=''></wasp:opera>
	</div>
	<div class="result-box">
		<div class="form-multi-col-panel">
			<div class="form-item-group form-horizontal">
				<div>
					<div class="form-item">
						<span class="form-field">产品简称</span>
						<span class="form-input"><input class="form-control" placeholder="产品简称" name="q-prjSName" id="q-prjSName"></span>
					</div>
					<div class="form-item">
						<span class="form-field">管理人名称</span>
						<span class="form-input"><input class="form-control" placeholder="管理人名称" name="q-companyName" id="q-companyName"></span>
					</div>
					<div class="form-item">
						<span class="form-field">变更岗位</span>
						<span class="form-input">
							<select class="form-control use-select2" placeholder="变更岗位" name="q-postId" id="q-postId">
								<option value=""></option>
								<c:forEach items="${postList }" var="item">
									<option value="${item.postId }">${item.postTitle }</option>
								</c:forEach>
							</select>
						</span>
					</div>
					<div class="form-item">
						<span class="form-field">变更的岗位人员</span>
						<span class="form-input">
							<select class="form-control use-select2" multiple="multiple" placeholder="变更的岗位人员" id="q-personnelId" name="q-personnelId"></select>
						</span>
					</div>
					<div class="form-item">
						<span class="form-field">变更生效日</span>
						<span class="form-input">
							<input class="form-control" placeholder="变更生效日" name="q-effctiveDate" id="q-effctiveDate">
						</span>
					</div>
				</div>
			</div>
			<div class="form-action">
				<button class="btn btn-primary" type="submit" id="queryByCondtion" onclick="queryByCondtion(true)"><i class="fa fa-search"></i>&nbsp;查询</button>
				<button class="btn btn-default" id="reset" name="reset"  type="reset">清空</button>
			</div>
		</div>
		<div class="form-search-group">
			<!-- 新增 -->
			<wasp:opera fun='POST_PERSONNEL_CHANGE.postPersonnelChangeAddView()' type='0' id='addPostPersonnelChange' param=''></wasp:opera>
		</div>
		<div class="jqGrid_wrapper fullscreen-wrapper">
			<table id="postPersonnelChangeList"></table>
			<div id="postPersonnelChangePage"></div>
		</div>
	</div>

<script type="text/javascript" src="<%=context%>resources/modules/business/postMaintenance/postPersonnelChangeList.search.js?r=<%=Math.random()%>"></script>
<script type="text/javascript" src="<%=context%>resources/modules/business/postMaintenance/postPersonnelChangeList.js?r=<%=Math.random()%>"></script>
</html>